<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'MyJsp.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	 <script type="text/javascript" src="js/jquery-3.2.1.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js"></script>
  <script type="text/javascript">
	function tijiao() {
			var neirong = editor.txt.html();//获取富文本区域里面的文字
			$('#nbody').val(neirong);
		}
	</script>
   </head>
  
  
  
  <body>
  <ul class="hc_list reset" id="dyn">
                        <c:forEach items="${list}" var="l" varStatus="st">
                           <c:if test="${st.count%3==1}">
                           <li style="clear:both;"></c:if>
                           <c:if test="${st.count%3!=1}">
                           <li></c:if>
                                <a href="TogetcompanyServlet?edithomepage=1&cid=${l.cid}" target="_blank">
                                    <h3 title="CCIC">${l.cshortName }</h3>
                                    <div class="comLogo">
                                        <img src="ImgShowServlet?fileName=${l.clogo}" width="190" height="190" alt="${l.cshortName }" />
                                        <ul>
                                            <li>${l.fid},${st.count}</li>
                                            <li>${l.ccid},${l.cdevelopment}</li>
                                        </ul>
                                    </div>
                                </a>
                                <c:forEach  items="${maps}" var="m">
                                <c:if test="${m.key==l.cshortName}"><c:forEach items="${m.value}" var="ms">
                                <a href="TogetpostDetailsServlet" target="_blank"> ${ms}</a></c:forEach></c:if></c:forEach>
                                <ul class="reset ctags">
                                    <li>${l.cdevelopment}</li>
                                    <li>${l.ctag}</li>
                                </ul>
                            </li></c:forEach> 
                           <div style="width: 500px; height: 100px; margin-left: 130px;margin-top: 60px;float:left;" >
                <input type="button" onclick="shou()" value="首页">
                <input type="button" onclick="shang(${index })" value="上一页" >
                <input type="button" onclick="xia(${index })" value="下一页" >
                <input type="button" onclick="wei()" value="尾页">
                <span>当前页数[${index }]&nbsp;&nbsp;总页数[${pagecount}]</span>
        </div>
                        </ul>
  </body>
</html>
